import EggyReadyItem from "../../../eggy/assets/eggy_ready_item";

const { ccclass, property } = cc._decorator;

const EYE_COUNT = 18;
const MOUTH_COUNT = 9;
// eye 1-8
// mouth 1-6
@ccclass
export default class EggyBombReadyItem extends EggyReadyItem {
    @property(cc.Label)
    lbAI: cc.Label = null;
    onClickToggleAI() {
        this.char.data.ai = this.char.data.ai == 0 ? 1 : 0;
        this.lbAI.string = `${this.char.data.ai ? "AI开" : "AI关"}`;
    }
};